Lame's functions